/*
 * @Descripttion: 字符串拆成元祖
 * @Author: ziwei
 * @Date: 2022-09-08 17:03:21
 * @LastEditors: ziwei
 * @LastEditTime: 2022-09-08 17:34:50
 */
export default {}

type stringToTuple<T,A extends any[]=[]> = T extends `${infer L}${infer R}`?stringToTuple<R,[...A,L]>:A

type A = stringToTuple<'BFE.dev'>